From: kfraser@localhost.localdomain Date: Tue, 10 Apr 2007 09:28:11 +0000 (+0100) Subject: xend: Destroy information about the domain in case an error occurs X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22man:///%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22man:/?a=commitdiff_plain;h=1d37a61c5280ee03923dcfb2bb074b13e42328ef;p=xen.git xend: Destroy information about the domain in case an error occurs during resume of a domain. Signed-off-by: Stefan Berger --- diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 425776ce12..9083e90e77 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -430,6 +430,7 @@ class XendDomainInfo: self._endRestore() except: log.exception('VM resume failed') + self.destroy() raise else: raise XendError('VM already running')